package hsintiao.com.xintiaoAPP.entity;

import lombok.Data;

import java.util.List;

//评论
@Data
public class Comment {
    private Long id;
    private Long articleId;//文章id
    private Long userId;//用户id
    private String username = "";//用户名
    private String avatar = "";//头像
    private String message = "";//评论信息
    private List<Reply> replies;//该评论下的所有回复
}
